package com.huanletao.sync.lock03;

public class Main {
    public static void main(String[] args) {
        ABCPrint testLock01 = new ABCPrint();

        new Thread(()->{while (true)testLock01.printA();}).start();
        new Thread(()->{while (true)testLock01.printB();}).start();
        new Thread(() -> {
            while (true)testLock01.printC();
        }).start();
    }
}
